package org.istt.domain;

import static javax.persistence.GenerationType.IDENTITY;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 * File entity. @author MyEclipse Persistence Tools
 */
@Entity(name = "fileCapCCHN")
@Table(name = "TBL_FILE_CAP_CCHN", schema = "dbo", catalog = "onegate")
public class FileCapCCHN extends BaseObject<Long> implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1392103101254166475L;
    private String cmnd;
    private String cmnd_ngay_cap ;
    private String cmnd_noi_cap;
    
    private String content ;
    private String diachi_thuongtru;
    private String email ;
    private Set<FileAttachment> fileAttachments = new HashSet<FileAttachment>(0);
    private String gioi_tinh ;
    private String ho_ten;
    private Long id;
    private String kn_cnct ;
    private String kn_da_tkct;
    private String kn_ksxd ;
    private String kn_tk ;
    private String kn_tk_ktct;
    private String kn_tk_qhxd;
    private String nam_kinh_nghiem ;
    private Date ngay_nop;
    private String ngay_sinh ;
    private String noi_sinh;
    private String quoc_tich ;
    private Boolean received;
    private String subject ;
    private String ten_lien_he ;
    private String thu_tuc;    

    private String trinh_do;
    
	private String van_bang;
	 private String fileCode;
	 
	 private String notify_message;
		public void setNotify_message(String notify_message) {
			this.notify_message = notify_message;
		}

		@Column(name="NOTIFY_MESSAGE")
		public String getNotify_message() {
			return notify_message;
		}
		
		public void setFileCode(String fileCode) {
			this.fileCode = fileCode;
		}

		@Column(name="FILE_CODE")
		public String getFileCode() {
			return fileCode;
		}
	@Override
	public boolean equals(Object o) {
		
		return false;
	}


    @Column(name="CMND")
	public String getCmnd() {
		return cmnd;
	}

	@Column(name="CMND_NGAY_CAP")
	public String getCmnd_ngay_cap() {
		return cmnd_ngay_cap;
	}
	@Column(name="CMND_NOI_CAP")
	public String getCmnd_noi_cap() {
		return cmnd_noi_cap;
	}

	@Column(name="CONTENT", length = 200)
	public String getContent() {
		return content;
	}
	@Column(name="DIACHI_THUONGTRU")
	public String getDiachi_thuongtru() {
		return diachi_thuongtru;
	}

	@Column(name="EMAIL")
	public String getEmail() {
		return email;
	}
	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "fileCapCCHN")
	public Set<FileAttachment> getFileAttachments() {
		return fileAttachments;
	}

	@Column(name="GIOI_TINH")
	public String getGioi_tinh() {
		return gioi_tinh;
	}
	@Column(name="HO_TEN")
	public String getHo_ten() {
		return ho_ten;
	}

	@Id @GeneratedValue(strategy=IDENTITY)
    @Column(name="ID", unique = true, nullable=false)
	public Long getId() {
		return id;
	}
	@Column(name="KN_CNCT")
	public String getKn_cnct() {
		return kn_cnct;
	}

	@Column(name="KN_DA_TKCT")
	public String getKn_da_tkct() {
		return kn_da_tkct;
	}
	@Column(name="KN_KSXD")
	public String getKn_ksxd() {
		return kn_ksxd;
	}

	@Column(name="KN_TK")
	public String getKn_tk() {
		return kn_tk;
	}
	@Column(name="KN_TK_KTCT")
	public String getKn_tk_ktct() {
		return kn_tk_ktct;
	}

	@Column(name="KN_TK_QHXD")
	public String getKn_tk_qhxd() {
		return kn_tk_qhxd;
	}
	@Column(name="NAM_KINH_NGHIEM")
	public String getNam_kinh_nghiem() {
		return nam_kinh_nghiem;
	}

	@Column(name="NGAY_NOP")
	public Date getNgay_nop() {
		return ngay_nop;
	}
	@Column(name="NGAY_SINH")
	public String getNgay_sinh() {
		return ngay_sinh;
	}

	@Column(name="NOI_SINH")
	public String getNoi_sinh() {
		return noi_sinh;
	}
	@Column(name="QUOC_TICH")
	public String getQuoc_tich() {
		return quoc_tich;
	}
	@Column(name="TIEP_NHAN")
	public Boolean getReceived() {
		return received;
	}
	@Column(name="SUBJECT", length = 200)
	public String getSubject() {
		return subject;
	}

	@Column(name="TEN_LIEN_HE")
	public String getTen_lien_he() {
		return ten_lien_he;
	}
	@Column(name="THU_TUC")
	public String getThu_tuc() {
		return thu_tuc;
	}

	@Column(name="TRINH_DO")
	public String getTrinh_do() {
		return trinh_do;
	}
	@Column(name="VAN_BANG")
	public String getVan_bang() {
		return van_bang;
	}

	@Override
	public int hashCode() {
		
		return 0;
	}
	public void setCmnd(String cmnd) {
		this.cmnd = cmnd;
	}

	public void setCmnd_ngay_cap(String cmnd_ngay_cap) {
		this.cmnd_ngay_cap = cmnd_ngay_cap;
	}
	public void setCmnd_noi_cap(String cmnd_noi_cap) {
		this.cmnd_noi_cap = cmnd_noi_cap;
	}

	public void setContent(String content) {
		this.content = content;
	}
	public void setDiachi_thuongtru(String diachi_thuongtru) {
		this.diachi_thuongtru = diachi_thuongtru;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	public void setFileAttachments(Set<FileAttachment> fileAttachments) {
		this.fileAttachments = fileAttachments;
	}

	public void setGioi_tinh(String gioi_tinh) {
		this.gioi_tinh = gioi_tinh;
	}
	public void setHo_ten(String ho_ten) {
		this.ho_ten = ho_ten;
	}

	public void setId(Long id) {
		this.id = id;
	}
	public void setKn_cnct(String kn_cnct) {
		this.kn_cnct = kn_cnct;
	}

	public void setKn_da_tkct(String kn_da_tkct) {
		this.kn_da_tkct = kn_da_tkct;
	}
	public void setKn_ksxd(String kn_ksxd) {
		this.kn_ksxd = kn_ksxd;
	}

	public void setKn_tk(String kn_tk) {
		this.kn_tk = kn_tk;
	}
	public void setKn_tk_ktct(String kn_tk_ktct) {
		this.kn_tk_ktct = kn_tk_ktct;
	}

	public void setKn_tk_qhxd(String kn_tk_qhxd) {
		this.kn_tk_qhxd = kn_tk_qhxd;
	}



	public void setNam_kinh_nghiem(String nam_kinh_nghiem) {
		this.nam_kinh_nghiem = nam_kinh_nghiem;
	}


	public void setNgay_nop(Date ngay_nop) {
		this.ngay_nop = ngay_nop;
	}


	public void setNgay_sinh(String ngay_sinh) {
		this.ngay_sinh = ngay_sinh;
	}

	
	public void setNoi_sinh(String noi_sinh) {
		this.noi_sinh = noi_sinh;
	}

	public void setQuoc_tich(String quoc_tich) {
		this.quoc_tich = quoc_tich;
	}

	public void setReceived(Boolean received) {
		this.received = received;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public void setTen_lien_he(String ten_lien_he) {
		this.ten_lien_he = ten_lien_he;
	}
	public void setThu_tuc(String thu_tuc) {
		this.thu_tuc = thu_tuc;
	}
	
	public void setTrinh_do(String trinh_do) {
		this.trinh_do = trinh_do;
	}
	
	public void setVan_bang(String van_bang) {
		this.van_bang = van_bang;
	}

	@Override
	public String toString() {
		
		return null;
	}
	
}